package zetcode.timers;

import javax.swing.JFrame;

@SuppressWarnings("serial")
public class TimerFrame extends JFrame {
	public TimerFrame(){
		//add(new SwingTimerPanel());
		//add(new UtilityTimerPanel());
		add(new ThreadTimerPanel());
		
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setSize(280, 240);
		setLocationRelativeTo(null);
		setTitle("Star");
		setResizable(false);
		setVisible(true);
	}
	
	public static void main(String[] args){
		new TimerFrame();
	}
}
